trigger SalesPerformanceDataSheetTrigger on SalesPerformanceDataSheet__c(before insert,before update ) {
    
    if(trigger.isBefore && (trigger.isInsert || trigger.isUpdate))SalesPerformanceDataSheetHandler.generateOnlyKey(trigger.new );
}